package net.wanho.service;

import com.baomidou.mybatisplus.extension.service.IService;
import net.wanho.dto.ProductDTO;
import net.wanho.dto.ProductQueryDTO;
import net.wanho.po.Product;
import net.wanho.vo.PageInfo;
import net.wanho.vo.ProductExportVo;
import net.wanho.vo.ProductVo;

import java.util.List;

/**
 * @author 32033
 * @description 针对表【product(商品表)】的数据库操作Service
 * @createDate 2025-01-11 17:01:23
 */
public interface ProductService extends IService<Product> {

    PageInfo<ProductVo> pageList(int pageNum, int pageSize, ProductDTO productDTO);

    void addProduct(Product product);

    List<ProductExportVo> exportTable(ProductQueryDTO product);

    void deleteProduct(Integer id);
}
